/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package PropertyRental.war.beans;

/**
 *
 * @author Sébastien
 */
public final class CatalogProperty {

    private Long id;
    private String type;
    private String adress;
    private int numberBedroom;
    private int numberBathroom;
    private int numberOtherRoom;
    private double rent;
    private String location;

    public CatalogProperty(Long id, String type, String adress, int numberBedroom,
            int numberBathroom, int numberOtherRoom, double rent, String location) {
        setId(id);
        setType(type);
        setAdress(adress);
        setNumberBedroom(numberBedroom);
        setNumberBathroom(numberBathroom);
        setNumberOtherRoom(numberOtherRoom);
        setRent(rent);
        setLocation(location);
    }

    /**
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * @return the type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type the type to set
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return the adress
     */
    public String getAdress() {
        return adress;
    }

    /**
     * @param adress the adress to set
     */
    public void setAdress(String adress) {
        this.adress = adress;
    }

    /**
     * @return the numberBedroom
     */
    public int getNumberBedroom() {
        return numberBedroom;
    }

    /**
     * @param numberBedroom the numberBedroom to set
     */
    public void setNumberBedroom(int numberBedroom) {
        this.numberBedroom = numberBedroom;
    }

    /**
     * @return the numberBathroom
     */
    public int getNumberBathroom() {
        return numberBathroom;
    }

    /**
     * @param numberBathroom the numberBathroom to set
     */
    public void setNumberBathroom(int numberBathroom) {
        this.numberBathroom = numberBathroom;
    }

    /**
     * @return the numberOtherRoom
     */
    public int getNumberOtherRoom() {
        return numberOtherRoom;
    }

    /**
     * @param numberOtherRoom the numberOtherRoom to set
     */
    public void setNumberOtherRoom(int numberOtherRoom) {
        this.numberOtherRoom = numberOtherRoom;
    }

    /**
     * @return the rent
     */
    public double getRent() {
        return rent;
    }

    /**
     * @param rent the rent to set
     */
    public void setRent(double rent) {
        this.rent = rent;
    }

    /**
     * @return the location
     */
    public String getLocation() {
        return location;
    }

    /**
     * @param location the location to set
     */
    public void setLocation(String location) {
        this.location = location;
    }
}
